package com.summary.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日报业务对象 tb_summary
 * 
 * @author qyb
 * @date 2023-12-17
 */
public class TbSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 和user表中对应 */
    @Excel(name = "和user表中对应")
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 总结 */
    @Excel(name = "总结")
    private String briefSummary;

    /** 填写时间(年) */
    @Excel(name = "填写时间(年)")
    private String year;

    /** 填写时间(月) */
    @Excel(name = "填写时间(月)")
    private String month;

    /** 填写时间(日) */
    @Excel(name = "填写时间(日)")
    private String day;

    /** 状态量(是否请假) */
    @Excel(name = "状态量(是否请假)")
    private Integer state;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    /** 日报类型（1.日报，2.月报） */
    @Excel(name = "日报类型", readConverterExp = "1=.日报，2.月报")
    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setBriefSummary(String briefSummary) 
    {
        this.briefSummary = briefSummary;
    }

    public String getBriefSummary() 
    {
        return briefSummary;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setDay(String day) 
    {
        this.day = day;
    }

    public String getDay() 
    {
        return day;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("briefSummary", getBriefSummary())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("level", getLevel())
            .append("type", getType())
            .toString();
    }
}
